package day3;

/**
 * @author joker
 * @date 2022/4/13 0013 - 21:13
 */
public class Test01{
    public int a=1;
    private int b = 2;
    public void m3(){
        System.out.println("m3");
        int num=2;
        class Test04{
            public void m6(){
                System.out.println(num);
            }
        }
    }
    public class Test02{
        public int c=4;
        private int d=5;
        public  void m1(){
            System.out.println("m1");
            System.out.println(Test01.this.a);
        }
        private  void m2(){
            System.out.println("m2");
            System.out.println(b);
        }
        public void m4(){
            new Test01().m3();
        }
    }
    public static class Test03{

    }

    public static void main(String[] args) {
//        Test01 test01 = new Test01();
//        Test01.Test02 test02 = test01.new Test02();
//        test02.m1();
//        test02.m2();
//        test02.m4();
        Test03 test03=new Test01.Test03();
    }
}
